package com.party.notify.notifyPush.integral;

import com.google.common.collect.Maps;
import com.party.core.api.member.IMemberActService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 众筹中推送
 * Created by wei.li
 *
 * @date 2017/10/31 0031
 * @time 17:30
 */
@Service
@Component(value = "MemberIntegralCheckActService")
public class MemberIntegralCheckActService extends INotifyMemberIntegralSendService {

    @Autowired
    private IMemberActService memberActService;

    /**
     * 众筹列表
     *
     * @return 众筹列表
     */
    @Override
    public List<Map<String, Object>> getList(String actId, Integer signin) {
        HashMap<String, Object> params = Maps.newHashMap();
        params.put("actId", actId);
        params.put("signin", signin);
        List<Map<String, Object>> memberActs = memberActService.memberActlist2(params);
        return memberActs;
    }
}
